home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr09 / vstsrc.zip / VSTDIB.H < prev    next >
C/C++ Source or Header  |  1995-02-02  |  603b  |  22 lines

  1. #ifndef _VSTDIB_H
  2. #define _VSTDIB_H
  3.  
  4. #undef  MIN
  5. #undef  ALIGNBYTE
  6. #undef  ALIGNLONG
  7. #define MIN(x,y)         (((int)(x) <= (int)(y)) ? x : y)
  8. #define ALIGNBYTE(i)    (((i+31)/32)*4)
  9. #define ALIGNLONG(i)    (((i+3)/4)*4)
  10. #define FILEHEADERSZ    (3*sizeof(short) + 2*sizeof(long))
  11. #define CHUNKSIZE        32768
  12. #define BMPMAGIC         0x4d42
  13.  
  14. long    rdBitmapHdr(int, BITMAPFILEHEADER *);
  15. long    getclr(void *);
  16. HBITMAP DIB2Bitmap(HANDLE, int);
  17. long    Readx(int, void *, long);
  18. HANDLE  getDIBInfo(int, int *, int *);
  19. HBITMAP ReadDIB(int, char *, int, int *, int *, mapdata_t *);
  20.  
  21. #endif /* _VSTDIB_H */
  22.